package com.wjj.sixinone.common.pojo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class PatientExcel {
    /**
     * 病人姓名
     */
    @ExcelProperty(value = "病人姓名", index = 0)
    private String patientName;

    /**
     * 病人电话
     */
    @ExcelProperty(value = "病人电话", index = 1)
    private String patientPhone;

    /**
     * 病人性别
     */
    @ExcelProperty(value = "病人性别", index = 2)
    private String patientGender;

    /**
     * 入院时间
     */
    @ExcelProperty(value = "入院时间", index = 3)
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime patientTime;

    /**
     * 所属科室
     */
    @ExcelProperty(value = "所属科室", index = 4)
    private String departmentName;

    /**
     * 病人情况
     */
    @ExcelProperty(value = "病人情况", index = 5)
    private String patientState;

    /**
     * 主治医生姓名
     */
    @ExcelProperty(value = "主治医生姓名", index = 6)
    private String doctorName;

    /**
     * 房间号
     */
    @ExcelProperty(value = "房间号", index = 7)
    private String roomNo;

    /**
     * 床位号
     */
    @ExcelProperty(value = "床位号", index = 8)
    private String bedNo;
    @ExcelProperty(value = "创建人", index = 9)
    private String createUser;
    @ExcelProperty(value = "更新人", index = 10)
    private String updateUser;
    @ExcelProperty(value = "创建时间", index = 11)
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ExcelProperty(value = "更新时间", index = 12)
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")

    private LocalDateTime updateTime;
}
